package params

type RegisterUserForm struct {
	Mobile   string `json:"mobile" binding:"required"`   // 账号
	Password string `json:"password" binding:"required"` // 密码
}

type LoginUserForm struct {
	Mobile   string `json:"mobile" binding:"required"`   // 账号
	Password string `json:"password" binding:"required"` // 密码
}

/*type User struct {
	Id        uint32    `json:"id"`       // id
	Mobile    string    `json:"mobile"`   // 账号
	Password  string    `json:"password"` // 密码
	Salt      string    `json:"salt"`     // 密码盐
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"updated_at"`
	DeletedAt time.Time `json:"deleted_at"`
}

type UserInfo struct {
	Id uint32 `json:"id"`// id
	UserId int32 `json:"user_id"`// 用户ID
	Nickname string `json:"nickname"`// 用户名
	Image string `json:"image"`// 头像
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"updated_at"`
	DeletedAt time.Time `json:"deleted_at"`
}


*/
